import 'package:boss/ui/page/commodity/material/widget/material_list.dart';
import 'package:boss/ui/widget/center_title_app_bar.dart';
import 'package:flutter/material.dart';
import 'package:hi_common/hi_common.dart';
import 'package:router/annotation.dart';

import 'widget/material_footer.dart';

@RouterConfig(MaterialManagerPage.pageName)
class MaterialManagerPage extends StatefulWidget {
  static const pageName = '/materialPage';

  const MaterialManagerPage();

  @override
  _MaterialManagerPageState createState() => _MaterialManagerPageState('管理加料/配菜');
}

class _MaterialManagerPageState extends BaseState<MaterialManagerPage> {
  _MaterialManagerPageState(String pageName) : super(pageName);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CenterTitleAppBar(
        title: '管理加料/配菜',
      ),
      body: MaterialList(),
      bottomNavigationBar: MaterialFooter(),
    );
  }
}
